import request from "../utils/request";

// 获取基本信息
export const baseInfo = (params) => {
  return request({
    url: "/init/company/baseInfo",
    method: "get",
    params,
  });
};
// 注册
export const register = (data) => {
  return request({
    url: "/init/user/registerUser",
    method: "post",
    data,
  });
};
// 登录
export const login = (data) => {
  return request({
    url: "/init/user/login",
    method: "post",
    data,
  });
};
